package org.goochasca

import java.awt.Color

private[goochasca] trait Colors extends Chart {
  private var colors: Seq[Color] = Seq.empty
  
  def setColors(colors: Color*) {
    this.colors = colors
  }
  
  protected abstract override def appendParms(sb: StringBuilder) {
    super.appendParms(sb)
    Colorific.appendColors(colors, sb)
  }
  
}
